/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package m;

import clases.InterfaceModels;

/**
 *
 * @author !gaso
 */
public class PacientesModel extends  Model implements InterfaceModels{

    
    
    @Override
    public Object[][] obtenerTodo() {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean add(String... values) {
        return sqlEjec(values[0]);
    }

    @Override
    public boolean mod(String... values) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public boolean del(int id) {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public Object[][] buscar(String txtBusqueda) {
        return sqlDatos(txtBusqueda);
    }
    
    public int count(String ... values){
        return count(values[0]);
    }
    
}
